Counting On Spies ^^^^^ **Definition:** * occurs when injecting a proxy ob- ject (spy) in place of a dependency (or collaborator), and spying on how the consuming class calls it. **References:** .. admonition:: Quality attributes * :octicon:`file-code;1em` - Code Example * :octicon:`comment-discussion;1em` - Cause and Effect * :octicon:`graph;1em` - Frequency * :octicon:`sync;1em` - Refactoring * `Smells in software test code: A survey of knowledge in industry and academia `_